<?php

namespace App\Models;

use Dcat\Admin\Traits\HasDateTimeFormatter;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class SwtMarketChains extends Model
{
    use HasFactory;
    use HasDateTimeFormatter;

    protected $guarded = [];

    public function networks()
    {
        return $this->belongsToMany(SwtNetwork::class, 'swt_network_chains', 'chain_id', 'network_id');
    }
}
